const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  lintOnSave:false,
  transpileDependencies: true,
  devServer: {
    proxy: {
    '/api': {
    target:'http://5t23585h50.zicp.vip:42393',
    // 允许跨域
    changeOrigin: true,
    ws: true,
    pathRewrite: {'^/api': '/tp5/tp5/public/'}
    }
    }
    }
    
})